package com.xebest.web.controller.export;

import com.xebest.util.DateUtil;
import com.xebest.util.XeVenColumnName;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;

/**
 * 退款导出使用
 *
 * @author 赵盼飞
 */
public class XeVenOrderRefundDTO {

    @XeVenColumnName("退款单号")
    private String refundCode;

    @XeVenColumnName("创建时间")
    private String createDate;

    @XeVenColumnName("退款类型")
    private String refundType;

    @XeVenColumnName("退款状态")
    private String refundStatus;

    @XeVenColumnName("售后单号")
    private String afterSalesCode;

    @XeVenColumnName("退货单号")
    private String rejectCode;

    @XeVenColumnName("订单编号")
    private String orderId;

    @XeVenColumnName("客户账号")
    private String loginAccount;

    @XeVenColumnName("支付类型")
    private String payType;

    @XeVenColumnName("支付渠道")
    private String payChannel;

    @XeVenColumnName("退款时间")
    private String refundDate;

    @XeVenColumnName("退款金额")
    private BigDecimal realRefundedAmount;

    //-------------
    @XeVenColumnName("商品货号")
    private String proNum;

    @XeVenColumnName("商品名称")
    private String proName;

    @XeVenColumnName("商品分类")
    private String proOrgCodeName;

    @XeVenColumnName("计量方式")
    private String pricingType;

    @XeVenColumnName("单位")
    private String proUnit;
    private String specName;

    @XeVenColumnName("规格")
    private String specValue;

    @XeVenColumnName("成交价")
    private String proCostPrice;

    @XeVenColumnName("购买数量")
    private String purchaseNum;

    @XeVenColumnName("订购金额")
    private String proTotalPrice;

    @XeVenColumnName("优惠金额")
    private String pmtAmount;

    @XeVenColumnName("特批优惠金额")
    private String specialDisamount;

    @XeVenColumnName("实发量")
    private String realSendNum;

    @XeVenColumnName("可退金额")
    private String rejectAmount;

    @XeVenColumnName("退货量")
    private String rejectNums;

    @XeVenColumnName("本次退款金额")
    private String refundAmount;


    public String getRefundCode() {
        return refundCode;
    }

    public void setRefundCode(String refundCode) {
        this.refundCode = refundCode;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }


    public String getAfterSalesCode() {
        return afterSalesCode;
    }

    public void setAfterSalesCode(String afterSalesCode) {
        this.afterSalesCode = afterSalesCode;
    }

    public BigDecimal getRealRefundedAmount() {
        return realRefundedAmount;
    }

    public void setRealRefundedAmount(BigDecimal realRefundedAmount) {
        this.realRefundedAmount = realRefundedAmount;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(DateUtil.toDate(createDate));
    }


    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getRejectCode() {
        return rejectCode;
    }

    public void setRejectCode(String rejectCode) {
        this.rejectCode = rejectCode;
    }

    public String getRefundDate() {
        return refundDate;
    }

    public void setRefundDate(String refundDate) {
        this.refundDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(DateUtil.toDate(refundDate));
    }

    public String getRefundType() {

        return refundType;
    }

    public void setRefundType(String refundType) {

        this.refundType = refundType;
    }

    public String getRefundStatus() {

        return refundStatus;
    }

    public void setRefundStatus(String refundStatus) {

        this.refundStatus = refundStatus;
    }

    public String getPayType() {

        return payType;
    }

    public void setPayType(String payType) {

        this.payType = payType;
    }

    public String getPayChannel() {

        return payChannel;
    }

    public void setPayChannel(String payChannel) {

        this.payChannel = payChannel;
    }

    public String getProNum() {

        return proNum;
    }

    public void setProNum(String proNum) {

        this.proNum = proNum;
    }

    public String getProName() {

        return proName;
    }

    public void setProName(String proName) {

        this.proName = proName;
    }

    public String getProOrgCodeName() {

        return proOrgCodeName;
    }

    public void setProOrgCodeName(String proOrgCodeName) {

        this.proOrgCodeName = proOrgCodeName;
    }

    public String getPricingType() {

        return pricingType;
    }

    public void setPricingType(String pricingType) {

        this.pricingType = pricingType;
    }

    public String getProUnit() {

        return proUnit;
    }

    public void setProUnit(String proUnit) {

        this.proUnit = proUnit;
    }

    public String getSpecName() {

        return specName;
    }

    public void setSpecName(String specName) {

        this.specName = specName;
    }

    public String getSpecValue() {

        return specValue;
    }

    public void setSpecValue(String specValue) {

        this.specValue = specValue;
    }

    public String getProCostPrice() {

        return proCostPrice;
    }

    public void setProCostPrice(String proCostPrice) {

        this.proCostPrice = proCostPrice;
    }

    public String getPurchaseNum() {

        return purchaseNum;
    }

    public void setPurchaseNum(String purchaseNum) {

        this.purchaseNum = purchaseNum;
    }

    public String getProTotalPrice() {

        return proTotalPrice;
    }

    public void setProTotalPrice(String proTotalPrice) {

        this.proTotalPrice = proTotalPrice;
    }

    public String getPmtAmount() {

        return pmtAmount;
    }

    public void setPmtAmount(String pmtAmount) {

        this.pmtAmount = pmtAmount;
    }

    public String getSpecialDisamount() {

        return specialDisamount;
    }

    public void setSpecialDisamount(String specialDisamount) {

        this.specialDisamount = specialDisamount;
    }

    public String getRealSendNum() {

        return realSendNum;
    }

    public void setRealSendNum(String realSendNum) {

        this.realSendNum = realSendNum;
    }

    public String getRejectAmount() {

        return rejectAmount;
    }

    public void setRejectAmount(String rejectAmount) {

        this.rejectAmount = rejectAmount;
    }

    public String getRejectNums() {

        return rejectNums;
    }

    public void setRejectNums(String rejectNums) {

        this.rejectNums = rejectNums;
    }

    public String getRefundAmount() {

        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {

        this.refundAmount = refundAmount;
    }

}
